# Copyright (c) 2019-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
def f_gold ( cost , N ) :
    dp = [ [ 0 for i in range ( N + 1 ) ] for j in range ( N + 1 ) ]
    dp [ 0 ] [ 0 ] = cost [ 0 ] [ 0 ]
    for i in range ( 1 , N ) :
        dp [ i ] [ 0 ] = dp [ i - 1 ] [ 0 ] + cost [ i ] [ 0 ]
    for j in range ( 1 , N ) :
        dp [ 0 ] [ j ] = dp [ 0 ] [ j - 1 ] + cost [ 0 ] [ j ]
    for i in range ( 1 , N ) :
        for j in range ( 1 , N ) :
            dp [ i ] [ j ] = max ( dp [ i - 1 ] [ j ] , dp [ i ] [ j - 1 ] ) + cost [ i ] [ j ]
    return dp [ N - 1 ] [ N - 1 ] / ( 2 * N - 1 )


#TOFILL

if __name__ == '__main__':
    param = [
    ([[48]],0,),
    ([[58, 26, 42, 48, -36, 22, 34, 2, 40, -88, -38, -90, -16, -28, 44, 26], [98, 48, -20, 0, -68, -74, -4, -74, -10, -64, -10, 98, -94, 6, 20, 96], [-86, 46, -8, -86, -44, -2, -4, -70, 94, -88, -54, 30, 94, 98, 24, -52], [86, 44, -16, -88, -62, -52, 64, 32, 22, -28, 84, 56, 34, -14, -86, 40], [72, 66, -40, -24, 56, 96, -24, 6, 26, 88, 70, -58, -40, 4, -84, 98], [50, 40, -8, -24, 28, -20, -46, -34, -30, 4, 10, 14, -60, -42, -82, 60], [20, -2, -36, -66, -46, -48, 4, 70, -34, -64, 0, 92, -32, 58, 18, -74], [-8, -38, -60, 84, -96, -82, 6, -26, -82, 2, 64, 40, -86, 76, 40, 12], [82, -10, -98, -84, -38, -64, 72, 14, 36, -76, -28, 22, -80, 48, 30, -50], [10, -30, -72, -20, -40, -16, -82, -52, -6, 24, 86, -80, -88, 62, 36, -10], [-42, 28, -38, -50, 98, -4, 24, -48, 76, 84, 74, -4, -76, -82, 94, -76], [82, -92, 96, -4, -90, -40, 52, 12, -32, 20, 2, 30, 34, -12, 84, 72], [86, -64, -30, 92, 8, -86, 94, -34, 32, 40, 64, 36, 64, 6, 72, -84], [-68, -86, 76, -24, -72, -2, 96, -84, 38, -14, 64, -66, 28, 46, 96, -78], [-44, 74, 88, -48, -40, 80, 84, 48, 78, 0, 62, -30, 44, 74, -82, -20], [-22, 76, -10, 34, 30, 46, -86, -74, 4, 26, -12, -58, -62, -34, -90, 52]],11,),
    ([[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]],23,),
    ([[36, 15, 12, 27, 93, 65, 88, 67, 45, 96, 79, 73, 79, 66, 99, 61, 67, 29, 67, 9, 70, 72, 28, 15, 26, 58, 60, 36, 66, 64, 44, 94, 86, 43, 89, 5, 33, 45, 64, 96], [9, 93, 65, 38, 41, 76, 69, 29, 86, 33, 59, 94, 39, 43, 29, 83, 4, 65, 65, 35, 36, 4, 11, 32, 17, 32, 36, 95, 35, 55, 65, 73, 16, 76, 31, 37, 99, 53, 15, 56], [94, 17, 68, 9, 10, 17, 26, 48, 22, 69, 98, 58, 66, 57, 3, 30, 5, 52, 79, 38, 31, 52, 37, 74, 40, 1, 22, 9, 51, 93, 11, 73, 98, 53, 3, 6, 97, 94, 72, 98], [98, 67, 61, 68, 34, 3, 43, 71, 25, 6, 8, 93, 53, 37, 43, 66, 3, 50, 60, 81, 98, 80, 89, 59, 42, 26, 13, 6, 74, 81, 95, 62, 59, 59, 42, 52, 23, 32, 15, 78], [83, 45, 57, 2, 28, 2, 50, 13, 24, 58, 36, 27, 51, 70, 36, 16, 79, 55, 72, 45, 70, 23, 27, 24, 65, 44, 87, 92, 61, 18, 61, 45, 29, 6, 38, 9, 37, 40, 70, 47], [84, 97, 60, 37, 87, 50, 90, 20, 90, 81, 14, 68, 52, 96, 50, 5, 37, 31, 49, 4, 7, 41, 45, 27, 34, 71, 72, 72, 46, 29, 89, 81, 89, 83, 42, 50, 25, 92, 38, 18], [90, 59, 26, 11, 75, 26, 99, 76, 32, 26, 90, 55, 6, 97, 40, 91, 87, 47, 80, 71, 25, 86, 84, 2, 49, 34, 62, 4, 75, 93, 8, 3, 94, 3, 84, 93, 79, 31, 63, 7], [5, 29, 52, 32, 27, 39, 21, 82, 70, 45, 71, 61, 5, 42, 16, 55, 86, 13, 91, 98, 1, 27, 8, 30, 38, 41, 86, 32, 10, 24, 88, 36, 90, 46, 30, 82, 13, 60, 21, 63], [66, 85, 80, 38, 90, 7, 41, 33, 24, 18, 62, 69, 92, 51, 46, 99, 58, 62, 35, 58, 96, 62, 83, 33, 62, 12, 11, 45, 85, 15, 94, 58, 31, 54, 21, 88, 35, 82, 88, 1], [51, 35, 57, 37, 21, 69, 64, 42, 7, 98, 67, 35, 90, 88, 45, 80, 33, 49, 19, 23, 53, 18, 7, 62, 65, 93, 71, 95, 51, 15, 49, 47, 94, 95, 44, 19, 5, 95, 54, 80], [2, 57, 97, 24, 87, 76, 24, 54, 13, 17, 8, 38, 3, 97, 35, 28, 31, 72, 67, 32, 69, 26, 36, 76, 85, 11, 56, 99, 29, 74, 93, 61, 85, 3, 91, 46, 47, 91, 56, 93], [5, 71, 63, 46, 81, 54, 33, 50, 98, 27, 14, 4, 61, 59, 86, 36, 36, 62, 52, 80, 40, 88, 87, 36, 86, 53, 34, 8, 9, 51, 63, 96, 72, 17, 8, 46, 91, 33, 28, 80], [9, 74, 91, 94, 20, 14, 3, 5, 6, 99, 67, 99, 81, 27, 73, 31, 86, 49, 16, 77, 85, 61, 90, 40, 31, 50, 43, 92, 61, 85, 14, 84, 87, 36, 43, 94, 2, 30, 41, 49], [37, 24, 47, 39, 99, 6, 9, 77, 92, 52, 66, 38, 89, 82, 75, 18, 73, 46, 88, 74, 34, 69, 97, 82, 89, 59, 62, 83, 10, 95, 64, 48, 12, 91, 60, 32, 54, 50, 63, 33], [81, 23, 27, 32, 94, 5, 86, 99, 18, 90, 90, 64, 33, 92, 55, 54, 53, 77, 23, 17, 67, 94, 91, 71, 3, 58, 32, 3, 95, 83, 56, 4, 18, 34, 66, 56, 95, 8, 50, 20], [82, 8, 19, 38, 17, 65, 47, 56, 39, 88, 87, 72, 48, 47, 79, 72, 69, 44, 64, 98, 70, 83, 89, 84, 86, 71, 58, 84, 36, 79, 33, 63, 55, 87, 45, 88, 72, 76, 45, 23], [48, 26, 92, 64, 6, 23, 7, 65, 8, 35, 10, 98, 66, 99, 36, 5, 75, 71, 28, 75, 45, 23, 37, 10, 40, 71, 35, 81, 76, 98, 49, 52, 98, 15, 30, 62, 51, 76, 91, 65], [86, 14, 67, 90, 66, 83, 75, 84, 7, 40, 51, 43, 54, 41, 37, 17, 99, 89, 85, 97, 30, 49, 36, 29, 24, 44, 90, 98, 23, 7, 41, 83, 77, 91, 24, 1, 80, 91, 23, 18], [97, 23, 81, 11, 38, 33, 61, 10, 93, 71, 11, 66, 71, 42, 37, 86, 69, 14, 43, 21, 98, 82, 5, 39, 40, 10, 57, 67, 69, 27, 37, 19, 71, 72, 90, 34, 12, 93, 35, 50], [22, 53, 69, 54, 84, 97, 96, 40, 36, 73, 25, 62, 89, 38, 59, 41, 65, 53, 20, 85, 84, 93, 7, 11, 50, 85, 1, 33, 33, 80, 57, 41, 88, 27, 44, 16, 19, 63, 59, 68], [88, 69, 4, 29, 17, 42, 69, 55, 40, 8, 58, 67, 9, 83, 67, 44, 83, 17, 25, 80, 10, 57, 78, 63, 31, 44, 45, 75, 9, 45, 27, 33, 69, 72, 75, 70, 77, 53, 67, 1], [59, 92, 44, 63, 97, 46, 50, 85, 56, 69, 90, 69, 81, 45, 58, 96, 1, 56, 29, 7, 70, 95, 4, 69, 87, 47, 79, 77, 45, 17, 34, 8, 15, 1, 15, 88, 91, 3, 71, 31], [43, 27, 49, 40, 52, 54, 96, 65, 55, 25, 35, 23, 13, 90, 32, 27, 26, 24, 85, 32, 43, 40, 92, 86, 12, 33, 69, 58, 39, 27, 6, 42, 94, 93, 20, 79, 18, 61, 10, 4], [11, 87, 79, 68, 4, 1, 21, 81, 12, 95, 14, 76, 99, 8, 28, 23, 17, 34, 40, 27, 26, 94, 86, 75, 82, 51, 32, 50, 52, 6, 10, 75, 30, 3, 20, 46, 87, 52, 77, 28], [1, 1, 46, 82, 89, 19, 71, 71, 18, 88, 76, 64, 77, 2, 41, 20, 95, 89, 76, 35, 52, 46, 60, 21, 69, 16, 94, 16, 74, 4, 40, 82, 93, 63, 1, 73, 42, 79, 95, 9], [41, 23, 9, 32, 41, 19, 4, 84, 4, 83, 93, 54, 39, 59, 84, 67, 98, 83, 58, 18, 7, 73, 70, 47, 37, 75, 95, 56, 44, 11, 1, 38, 40, 79, 25, 91, 49, 24, 59, 61], [9, 47, 83, 23, 35, 50, 17, 51, 91, 52, 21, 86, 26, 3, 18, 11, 57, 3, 78, 1, 99, 25, 90, 39, 20, 96, 66, 75, 31, 24, 60, 91, 62, 3, 49, 67, 57, 46, 46, 99], [96, 51, 15, 18, 86, 64, 14, 66, 16, 76, 69, 63, 69, 3, 26, 4, 22, 8, 92, 5, 61, 3, 10, 97, 78, 53, 22, 53, 30, 59, 61, 56, 10, 48, 10, 2, 33, 85, 14, 87], [93, 41, 61, 17, 83, 49, 30, 93, 60, 53, 18, 35, 99, 62, 56, 15, 63, 24, 83, 11, 79, 62, 89, 46, 56, 26, 64, 25, 19, 35, 5, 38, 59, 77, 91, 89, 26, 23, 19, 99], [73, 34, 24, 9, 70, 64, 46, 53, 94, 23, 73, 53, 93, 9, 27, 44, 85, 59, 83, 73, 57, 98, 61, 1, 33, 77, 14, 99, 75, 10, 60, 95, 37, 10, 31, 43, 82, 29, 82, 98], [65, 55, 80, 15, 94, 11, 6, 18, 18, 57, 38, 2, 46, 68, 96, 20, 61, 75, 98, 72, 8, 86, 43, 7, 94, 8, 64, 34, 80, 3, 3, 18, 73, 93, 87, 6, 79, 54, 16, 73], [51, 74, 44, 2, 59, 22, 63, 96, 40, 74, 39, 58, 6, 46, 32, 65, 96, 71, 57, 62, 51, 45, 11, 58, 64, 61, 44, 22, 90, 85, 68, 97, 43, 6, 37, 67, 62, 24, 57, 27], [18, 56, 47, 88, 74, 87, 20, 74, 97, 51, 54, 94, 63, 67, 16, 44, 43, 72, 99, 80, 72, 2, 1, 88, 43, 40, 99, 10, 66, 96, 80, 22, 50, 68, 60, 31, 19, 4, 83, 76], [50, 6, 48, 22, 61, 15, 42, 97, 51, 95, 53, 55, 67, 71, 18, 98, 89, 92, 62, 43, 7, 58, 30, 55, 86, 85, 7, 62, 54, 2, 92, 76, 71, 96, 24, 43, 96, 91, 99, 60], [43, 48, 12, 24, 19, 93, 53, 14, 26, 94, 89, 76, 79, 25, 54, 68, 53, 82, 74, 21, 19, 26, 73, 94, 23, 34, 24, 33, 82, 9, 1, 53, 54, 6, 71, 64, 83, 66, 69, 16], [89, 41, 95, 51, 17, 54, 30, 18, 28, 58, 81, 17, 45, 23, 7, 77, 17, 57, 46, 18, 17, 34, 78, 98, 81, 87, 1, 50, 32, 17, 23, 90, 81, 60, 52, 73, 58, 76, 86, 25], [93, 59, 71, 42, 8, 69, 37, 66, 71, 26, 11, 82, 44, 82, 10, 75, 89, 37, 99, 87, 12, 65, 80, 38, 58, 28, 78, 15, 75, 72, 74, 55, 61, 32, 4, 25, 79, 89, 44, 2], [18, 62, 31, 5, 37, 96, 16, 83, 85, 27, 49, 30, 8, 45, 97, 75, 46, 48, 64, 25, 62, 85, 43, 5, 33, 42, 25, 37, 80, 64, 76, 18, 99, 77, 68, 98, 65, 72, 64, 43], [77, 37, 32, 4, 10, 60, 7, 87, 51, 87, 35, 51, 20, 82, 37, 10, 99, 5, 50, 65, 8, 11, 60, 77, 93, 53, 5, 57, 90, 72, 78, 66, 67, 48, 39, 50, 38, 14, 38, 18], [44, 25, 30, 74, 49, 75, 68, 46, 65, 50, 29, 29, 50, 54, 98, 87, 73, 71, 58, 15, 58, 39, 67, 2, 51, 50, 43, 85, 8, 59, 47, 53, 54, 13, 32, 34, 55, 40, 95, 70]],28,),
    ([[-98, -94, -90, -86, -80, -80, -78, -56, -48, -46, -42, -36, -34, -22, -14, -4, -4, 4, 6, 14, 18, 22, 28, 30, 38, 38, 42, 44, 58, 60, 60, 64, 64, 66, 70, 76, 86, 88, 94, 98], [-98, -94, -90, -74, -68, -66, -60, -56, -50, -10, -2, 8, 10, 14, 16, 24, 28, 38, 40, 44, 48, 48, 56, 58, 58, 62, 68, 78, 78, 82, 82, 82, 82, 84, 88, 88, 92, 92, 94, 96], [-98, -76, -72, -64, -60, -58, -56, -46, -44, -44, -44, -36, -36, -28, -26, -24, -22, -22, -16, -14, -8, -6, 4, 6, 10, 12, 16, 36, 36, 36, 36, 38, 44, 46, 50, 56, 68, 76, 82, 84], [-94, -88, -82, -82, -76, -54, -54, -46, -42, -42, -34, -34, -24, -22, -20, -16, -14, -8, 8, 8, 16, 22, 22, 28, 28, 32, 54, 54, 62, 62, 64, 70, 72, 72, 76, 80, 80, 86, 86, 98], [-92, -86, -80, -78, -74, -72, -64, -58, -56, -52, -42, -38, -38, -38, -36, -32, -28, -26, -18, -18, -16, -14, -12, 0, 6, 10, 14, 18, 26, 32, 34, 34, 56, 62, 62, 66, 68, 68, 72, 98], [-98, -94, -92, -90, -84, -80, -74, -64, -62, -62, -46, -36, -36, -30, -22, -22, -18, -12, -6, 6, 10, 14, 22, 28, 32, 38, 46, 48, 52, 56, 62, 64, 68, 68, 76, 78, 78, 86, 96, 98], [-96, -96, -94, -92, -90, -90, -82, -76, -66, -64, -60, -60, -56, -56, -52, -52, -40, -34, -30, -28, -20, -18, -10, -8, -6, -2, 18, 26, 38, 38, 46, 46, 50, 64, 74, 78, 78, 80, 84, 88], [-92, -88, -70, -68, -68, -64, -60, -60, -52, -44, -38, -38, -38, -36, -30, -30, -28, -24, -18, -16, -12, -10, -6, 4, 10, 12, 14, 28, 40, 44, 46, 50, 56, 64, 74, 78, 80, 80, 80, 84], [-86, -78, -76, -72, -70, -60, -50, -44, -44, -40, -36, -34, -34, -30, -28, -16, -12, -8, -4, 0, 2, 4, 6, 8, 12, 16, 20, 26, 26, 42, 54, 56, 66, 72, 78, 84, 86, 90, 92, 94], [-94, -88, -82, -78, -78, -74, -68, -68, -58, -58, -42, -38, -36, -28, -22, -16, -16, -14, -12, -4, 0, 10, 20, 22, 24, 32, 34, 38, 38, 40, 46, 52, 54, 58, 60, 70, 90, 90, 94, 96], [-94, -92, -90, -84, -68, -66, -64, -44, -38, -34, -32, -32, -16, -14, -8, -2, 0, 2, 2, 4, 12, 14, 20, 24, 32, 40, 40, 46, 46, 62, 64, 66, 68, 70, 74, 78, 82, 86, 86, 98], [-90, -82, -82, -78, -66, -58, -56, -54, -52, -50, -48, -36, -28, -24, -12, -6, -4, -4, -2, 0, 2, 2, 4, 18, 22, 22, 24, 28, 30, 32, 36, 36, 38, 44, 46, 48, 54, 60, 60, 60], [-98, -94, -90, -84, -76, -74, -74, -72, -70, -56, -54, -50, -48, -38, -38, -30, -28, -28, -26, -22, -18, -4, 2, 6, 16, 20, 24, 24, 26, 32, 34, 34, 40, 40, 44, 70, 72, 80, 80, 98], [-98, -96, -78, -66, -60, -58, -46, -32, -24, -22, -18, -16, -14, -12, 14, 14, 20, 20, 22, 24, 36, 36, 52, 52, 54, 56, 58, 62, 64, 72, 76, 76, 78, 82, 84, 90, 90, 92, 96, 98], [-94, -88, -84, -84, -84, -74, -74, -66, -66, -54, -50, -50, -40, -26, -20, -4, -4, -4, -2, 2, 6, 18, 18, 24, 28, 40, 42, 42, 44, 44, 46, 48, 48, 58, 64, 72, 76, 82, 84, 90], [-98, -92, -90, -90, -88, -86, -80, -76, -62, -60, -56, -52, -50, -46, -40, -40, -32, -32, -26, -12, -12, -6, -2, 8, 10, 12, 26, 32, 38, 50, 52, 52, 62, 70, 72, 80, 80, 84, 92, 94], [-88, -86, -82, -82, -82, -82, -80, -70, -64, -52, -50, -28, -14, -8, -6, -2, 0, 6, 8, 8, 14, 14, 20, 20, 20, 24, 28, 30, 48, 50, 54, 60, 66, 68, 72, 74, 76, 78, 90, 94], [-96, -86, -84, -82, -76, -70, -70, -64, -52, -50, -46, -46, -44, -42, -42, -42, -36, -22, -14, -14, -6, 0, 2, 10, 14, 18, 32, 38, 46, 54, 54, 56, 62, 68, 68, 74, 76, 78, 90, 94], [-98, -98, -94, -90, -86, -82, -66, -62, -60, -60, -52, -44, -36, -20, -10, 2, 4, 8, 10, 16, 18, 20, 22, 24, 26, 26, 42, 48, 56, 58, 60, 62, 80, 80, 80, 86, 98, 98, 98, 98], [-98, -96, -86, -86, -84, -76, -76, -76, -74, -72, -70, -62, -62, -50, -32, -30, -20, -18, -18, -12, -6, 4, 8, 12, 14, 20, 20, 24, 32, 34, 38, 44, 48, 58, 64, 84, 86, 92, 98, 98], [-78, -76, -62, -58, -56, -50, -46, -42, -42, -34, -32, -28, -18, -16, -10, -6, 0, 8, 14, 22, 24, 26, 32, 34, 36, 44, 46, 46, 52, 52, 54, 56, 58, 60, 66, 70, 78, 80, 80, 94], [-98, -98, -94, -88, -78, -70, -66, -64, -60, -56, -54, -54, -52, -42, -36, -24, -24, -22, -22, -20, -16, -14, -12, -4, 4, 6, 12, 14, 22, 24, 32, 38, 48, 54, 56, 78, 82, 88, 88, 92], [-96, -66, -60, -56, -56, -56, -54, -46, -46, -42, -38, -28, -14, -12, -10, -2, 0, 0, 0, 2, 6, 10, 18, 20, 26, 28, 44, 46, 46, 54, 56, 58, 60, 60, 76, 88, 88, 92, 94, 96], [-98, -96, -92, -86, -82, -78, -76, -60, -50, -36, -32, -28, -26, -26, -20, -8, -2, -2, 0, 0, 6, 8, 10, 14, 20, 20, 26, 28, 30, 38, 38, 40, 54, 58, 64, 66, 72, 72, 94, 98], [-94, -84, -82, -76, -76, -74, -72, -62, -60, -52, -34, -26, -22, -8, -4, 0, 0, 2, 6, 10, 14, 16, 36, 36, 42, 46, 48, 50, 56, 56, 60, 64, 64, 74, 76, 88, 88, 96, 96, 98], [-92, -80, -80, -74, -74, -68, -54, -48, -42, -34, -32, -24, -22, -12, -10, -6, -6, -4, -4, 2, 12, 12, 12, 16, 24, 24, 26, 26, 36, 36, 38, 64, 66, 68, 68, 70, 72, 86, 96, 96], [-98, -98, -94, -84, -78, -68, -58, -58, -56, -54, -50, -48, -46, -20, -12, -12, -4, 0, 2, 2, 6, 12, 14, 20, 34, 36, 36, 38, 44, 48, 48, 52, 54, 56, 62, 64, 68, 74, 84, 90], [-98, -84, -74, -68, -56, -50, -48, -28, -28, -18, -14, 0, 0, 2, 2, 6, 8, 10, 34, 34, 42, 50, 52, 52, 54, 56, 58, 60, 66, 72, 76, 80, 80, 82, 84, 86, 90, 90, 92, 98], [-92, -92, -90, -90, -90, -80, -74, -56, -50, -46, -44, -24, -22, -22, -14, 8, 12, 14, 22, 22, 24, 26, 28, 28, 36, 42, 42, 46, 46, 58, 60, 66, 68, 72, 74, 78, 78, 80, 82, 86], [-98, -98, -90, -90, -88, -88, -78, -68, -54, -48, -46, -42, -40, -30, -26, -16, -12, -12, -10, 2, 2, 6, 14, 20, 22, 28, 36, 36, 46, 48, 50, 56, 58, 66, 66, 76, 82, 94, 96, 98], [-98, -92, -88, -80, -78, -66, -52, -50, -50, -46, -44, -44, -40, -30, -26, -20, -10, -10, 2, 10, 12, 18, 18, 20, 22, 26, 30, 36, 38, 42, 46, 50, 56, 64, 78, 80, 82, 86, 90, 92], [-96, -94, -84, -84, -76, -62, -56, -40, -38, -30, -24, -22, -18, -16, -12, -10, -8, -6, -4, -4, 4, 8, 12, 16, 22, 24, 26, 28, 30, 38, 42, 42, 46, 50, 70, 76, 78, 86, 90, 94], [-96, -94, -84, -74, -68, -58, -52, -44, -40, -30, -28, -22, -10, -4, 0, 6, 6, 8, 10, 12, 16, 16, 16, 16, 20, 20, 24, 48, 52, 60, 60, 72, 72, 78, 78, 82, 82, 84, 90, 94], [-98, -98, -98, -98, -88, -86, -78, -72, -66, -62, -60, -58, -56, -54, -46, -46, -36, -26, -10, -8, -6, 4, 14, 14, 26, 50, 56, 58, 58, 60, 60, 62, 66, 70, 72, 74, 80, 84, 88, 88], [-94, -90, -88, -84, -80, -78, -76, -74, -74, -64, -60, -60, -52, -44, -38, -36, -36, -28, -22, -22, -16, -10, -4, -2, 2, 10, 12, 12, 22, 26, 32, 34, 40, 46, 60, 70, 76, 76, 94, 94], [-98, -90, -88, -86, -74, -74, -52, -52, -50, -46, -46, -36, -36, -34, -24, -24, -24, -22, -10, -4, 14, 20, 26, 30, 40, 46, 48, 50, 52, 54, 68, 70, 70, 74, 74, 76, 78, 86, 96, 96], [-94, -86, -76, -76, -66, -64, -60, -58, -44, -38, -34, -32, -32, -28, -26, -18, -16, -14, -4, 6, 12, 18, 18, 22, 24, 30, 30, 32, 32, 34, 34, 40, 46, 62, 66, 66, 70, 74, 82, 84], [-88, -86, -84, -76, -74, -64, -56, -54, -50, -50, -46, -40, -36, -36, -34, -16, -16, 20, 22, 22, 24, 26, 30, 32, 34, 34, 42, 46, 46, 54, 62, 66, 68, 68, 82, 82, 88, 90, 90, 92], [-92, -90, -88, -88, -76, -74, -62, -56, -52, -44, -42, -42, -40, -22, -20, -14, -14, -10, -10, -2, 20, 24, 26, 30, 34, 36, 38, 40, 52, 54, 56, 56, 62, 64, 74, 74, 76, 78, 88, 96], [-94, -90, -86, -78, -74, -70, -68, -62, -56, -54, -46, -40, -36, -26, -18, -16, -16, -6, -4, 0, 6, 40, 52, 56, 60, 64, 66, 68, 70, 72, 78, 80, 80, 84, 86, 88, 88, 90, 90, 96]],37,),
    ([[1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0], [1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0], [0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 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0], [0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1]],45,),
    ([[4, 4, 13, 19, 22, 22, 25, 30, 32, 34, 36, 37, 41, 43, 43, 44, 50, 56, 71, 76, 78, 83, 92, 92, 92], [5, 10, 11, 15, 16, 17, 30, 36, 40, 46, 52, 53, 54, 62, 63, 63, 69, 72, 74, 74, 82, 90, 92, 96, 98], [1, 5, 8, 10, 12, 14, 15, 23, 30, 41, 46, 46, 47, 62, 62, 63, 65, 75, 88, 90, 90, 92, 94, 99, 99], [2, 3, 5, 6, 9, 16, 17, 18, 21, 24, 26, 31, 34, 34, 34, 36, 38, 41, 42, 51, 66, 76, 81, 82, 90], [11, 15, 16, 17, 19, 21, 25, 27, 29, 32, 40, 43, 50, 51, 52, 53, 57, 60, 65, 71, 72, 79, 80, 82, 94], [1, 2, 6, 11, 13, 13, 22, 30, 32, 36, 37, 38, 48, 51, 69, 71, 71, 72, 74, 77, 81, 90, 94, 98, 99], [4, 5, 20, 21, 23, 24, 27, 27, 30, 31, 33, 33, 49, 51, 52, 58, 59, 70, 78, 83, 83, 85, 85, 88, 89], [4, 6, 7, 14, 22, 24, 27, 39, 41, 42, 43, 44, 46, 54, 54, 55, 61, 62, 62, 62, 70, 86, 93, 97, 99], [5, 9, 15, 22, 27, 36, 39, 39, 42, 44, 48, 51, 52, 54, 55, 57, 60, 60, 64, 69, 71, 78, 78, 82, 87], [8, 10, 14, 20, 21, 24, 28, 30, 30, 34, 37, 56, 58, 69, 69, 71, 71, 75, 80, 81, 85, 88, 93, 93, 99], [1, 2, 4, 9, 10, 11, 13, 14, 17, 18, 24, 29, 29, 46, 48, 51, 62, 67, 80, 82, 87, 88, 88, 88, 93], [4, 5, 13, 13, 16, 22, 23, 26, 27, 28, 28, 29, 30, 33, 34, 49, 51, 62, 65, 66, 76, 76, 88, 91, 95], [5, 7, 7, 8, 11, 11, 13, 23, 27, 33, 34, 39, 46, 59, 61, 63, 71, 82, 83, 85, 85, 88, 89, 90, 91], [1, 7, 9, 20, 34, 38, 41, 48, 48, 49, 50, 51, 53, 54, 55, 58, 64, 66, 77, 79, 80, 82, 90, 92, 95], [1, 2, 4, 5, 21, 26, 28, 28, 32, 44, 52, 53, 54, 59, 64, 67, 74, 83, 87, 88, 89, 89, 90, 92, 94], [4, 6, 15, 23, 27, 30, 31, 32, 33, 37, 43, 50, 54, 55, 58, 63, 66, 66, 71, 74, 77, 97, 97, 97, 98], [4, 16, 17, 22, 24, 27, 32, 34, 35, 37, 39, 42, 51, 52, 57, 66, 71, 77, 82, 85, 90, 91, 93, 98, 98], [2, 19, 22, 24, 24, 25, 29, 29, 31, 36, 44, 53, 57, 59, 60, 60, 63, 65, 67, 78, 80, 85, 92, 96, 99], [7, 17, 43, 46, 48, 48, 50, 51, 55, 55, 61, 61, 68, 70, 74, 75, 79, 79, 88, 90, 90, 91, 92, 94, 98], [2, 16, 17, 17, 25, 27, 36, 38, 41, 45, 46, 50, 59, 61, 63, 69, 74, 74, 75, 77, 89, 92, 94, 94, 94], [1, 3, 7, 7, 10, 12, 24, 26, 29, 42, 47, 51, 52, 53, 57, 61, 65, 69, 71, 75, 75, 78, 78, 78, 84], [4, 4, 8, 14, 18, 19, 19, 30, 31, 34, 35, 39, 42, 45, 61, 65, 75, 77, 82, 85, 87, 88, 90, 90, 91], [6, 7, 10, 12, 15, 22, 27, 34, 45, 57, 58, 61, 63, 67, 74, 75, 80, 80, 82, 84, 85, 85, 86, 93, 98], [8, 9, 12, 22, 25, 33, 33, 38, 44, 47, 53, 58, 66, 66, 67, 78, 79, 84, 86, 87, 87, 88, 90, 91, 92], [4, 6, 14, 21, 23, 26, 29, 40, 48, 67, 70, 71, 74, 76, 77, 79, 79, 82, 83, 88, 89, 90, 92, 95, 96]],16,),
    ([[-12, -4, -74, -42, 80, 62, 62, 36, -48, -56], [-4, 86, -76, -86, -48, 70, -58, -4, 42, -22], [-38, -24, 44, -28, 36, 40, 66, 28, -70, -80], [32, -38, 22, 18, 50, 20, -70, -80, -78, 42], [8, 76, 62, 78, -66, 58, 34, 46, 82, -10], [-74, -76, 36, -70, 8, -22, 84, 54, -44, -46], [-72, 42, -60, -70, 38, 66, -60, -26, -36, 24], [92, 44, -16, -58, -42, -56, 12, -20, 78, -58], [-46, -6, -56, -68, 62, -78, -94, 34, 68, 88], [32, 72, -28, 62, -20, -50, 52, -22, -60, -88]],5,),
    ([[0, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 1, 1, 1], [0, 0, 0, 0, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 1, 1, 1], [0, 0, 0, 0, 0, 0, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 1, 1], [0, 0, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 1, 1, 1, 1]],4,),
    ([[11, 24, 29, 89, 15, 25, 16, 59, 1, 29, 18, 84, 58, 50, 5, 33, 38, 44, 34, 3, 28, 57, 98, 53, 79, 67, 19, 85, 49], [86, 86, 56, 89, 4, 45, 42, 87, 97, 69, 83, 84, 55, 85, 57, 6, 76, 53, 77, 3, 35, 61, 68, 70, 94, 55, 56, 33, 73], [8, 82, 84, 58, 31, 72, 47, 76, 12, 7, 63, 30, 62, 93, 80, 25, 80, 83, 25, 44, 60, 42, 31, 57, 85, 5, 23, 15, 12], [91, 44, 3, 18, 58, 28, 70, 76, 68, 31, 37, 94, 42, 93, 89, 5, 51, 35, 94, 71, 62, 38, 93, 70, 85, 22, 9, 84, 51], [62, 91, 69, 79, 9, 48, 14, 13, 77, 66, 96, 51, 57, 8, 21, 8, 14, 7, 36, 14, 71, 52, 72, 9, 10, 79, 40, 12, 12], [7, 71, 82, 60, 30, 38, 22, 58, 33, 59, 30, 13, 31, 93, 4, 13, 33, 15, 99, 96, 98, 94, 56, 98, 83, 20, 90, 96, 48], [64, 54, 80, 67, 56, 26, 38, 91, 89, 8, 95, 93, 16, 59, 40, 1, 26, 93, 23, 45, 89, 21, 77, 67, 35, 47, 13, 74, 83], [4, 43, 14, 79, 31, 7, 93, 41, 58, 59, 20, 10, 76, 70, 72, 89, 61, 35, 94, 18, 98, 72, 39, 58, 14, 35, 60, 11, 43], [71, 88, 61, 78, 41, 79, 10, 95, 34, 79, 98, 90, 36, 17, 93, 83, 35, 46, 3, 60, 23, 32, 1, 31, 29, 30, 95, 11, 69], [68, 60, 70, 68, 9, 99, 25, 88, 8, 12, 3, 11, 22, 21, 72, 61, 87, 45, 93, 70, 54, 28, 25, 96, 77, 32, 72, 15, 27], [16, 50, 24, 19, 4, 25, 40, 54, 5, 84, 88, 45, 85, 45, 27, 16, 48, 5, 78, 9, 40, 45, 8, 77, 59, 33, 57, 97, 93], [65, 16, 13, 17, 9, 64, 53, 48, 35, 48, 83, 10, 60, 60, 65, 63, 1, 81, 74, 56, 1, 93, 58, 45, 56, 30, 19, 25, 30], [13, 5, 50, 16, 71, 79, 89, 88, 73, 50, 10, 60, 8, 29, 89, 13, 11, 90, 4, 96, 53, 31, 56, 51, 62, 94, 74, 50, 42], [2, 75, 91, 46, 52, 75, 94, 68, 60, 95, 25, 74, 45, 27, 81, 86, 36, 48, 28, 24, 69, 2, 54, 13, 26, 80, 46, 41, 71], [54, 2, 27, 79, 30, 43, 96, 26, 86, 13, 18, 85, 51, 66, 85, 63, 68, 43, 90, 97, 47, 65, 54, 58, 80, 19, 34, 96, 73], [40, 37, 74, 40, 62, 46, 57, 78, 5, 10, 55, 30, 60, 79, 54, 11, 46, 32, 83, 91, 62, 82, 84, 46, 79, 72, 98, 36, 21], [30, 57, 58, 10, 90, 79, 23, 65, 50, 88, 8, 69, 88, 6, 53, 34, 54, 41, 66, 75, 22, 58, 54, 8, 21, 74, 81, 96, 61], [63, 61, 94, 18, 58, 27, 25, 41, 62, 45, 88, 87, 45, 38, 53, 77, 72, 20, 39, 2, 78, 23, 91, 19, 69, 89, 41, 83, 96], [7, 79, 40, 22, 77, 70, 6, 58, 74, 16, 41, 3, 99, 14, 92, 69, 51, 19, 82, 41, 8, 16, 95, 35, 36, 15, 89, 94, 87], [59, 27, 33, 78, 83, 76, 56, 18, 32, 4, 58, 22, 76, 66, 16, 60, 84, 15, 74, 43, 36, 25, 85, 95, 80, 50, 30, 48, 41], [31, 5, 40, 6, 61, 10, 74, 49, 6, 23, 40, 80, 93, 51, 71, 61, 40, 93, 70, 26, 28, 93, 57, 87, 52, 6, 57, 12, 39], [55, 45, 57, 87, 92, 14, 74, 62, 28, 88, 67, 75, 66, 15, 3, 77, 53, 80, 47, 60, 93, 29, 54, 89, 16, 12, 59, 85, 51], [71, 55, 73, 87, 20, 36, 98, 58, 8, 6, 14, 55, 23, 77, 51, 82, 3, 46, 63, 8, 30, 32, 63, 62, 72, 76, 5, 10, 99], [37, 9, 58, 91, 1, 3, 28, 34, 39, 59, 32, 13, 10, 71, 68, 82, 61, 94, 63, 30, 22, 43, 35, 55, 37, 37, 78, 77, 87], [91, 40, 64, 80, 82, 7, 89, 62, 48, 89, 51, 62, 20, 36, 71, 21, 86, 8, 11, 47, 92, 18, 43, 74, 2, 71, 58, 91, 62], [87, 2, 69, 42, 56, 55, 39, 17, 37, 67, 61, 53, 61, 35, 61, 89, 18, 5, 72, 95, 2, 12, 97, 50, 7, 45, 46, 61, 82], [83, 16, 80, 5, 94, 24, 92, 57, 3, 6, 1, 23, 48, 81, 23, 56, 45, 4, 12, 73, 22, 66, 1, 81, 33, 49, 9, 5, 52], [45, 72, 21, 79, 81, 74, 19, 38, 77, 6, 80, 76, 84, 80, 22, 84, 18, 69, 34, 83, 87, 58, 56, 70, 98, 7, 67, 9, 43], [4, 34, 73, 83, 5, 80, 76, 97, 33, 79, 42, 88, 18, 56, 20, 85, 8, 92, 46, 54, 58, 4, 86, 67, 20, 98, 8, 60, 90]],21,)
        ]
    n_success = 0
    for i, parameters_set in enumerate(param):
        if abs(1 - (0.0000001 + abs(f_gold(*parameters_set))) / (abs(f_filled(*parameters_set)) + 0.0000001)) < 0.001:
            n_success+=1
    print("#Results: %i, %i" % (n_success, len(param)))